
export const user = {
	getUserInfo(){
		let user = uni.getStorageSync('userInfo');
		if (user) {
			if( !user.introduce ){
				user.introduce = '';
			} 
		}
		return user;
	},
	getUserId(){
		return this.getUserInfo().userId;
	},
	getType(){
		return this.getUserInfo().type;
	},
	isType(type){
		return this.getUserInfo().type == type;
	}
}



export default {
	user
}
//复制分享链接
			